import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ShoppingListComponent } from './shopping-list/shopping-list.component';
import { RechargeListComponent } from './recharge-list/recharge-list.component';
import { ChangebackListComponent } from './changeback-list/changeback-list.component';

const routes: Routes = [
  { path: 'shopping', component: ShoppingListComponent },
  { path: 'recharge', component: RechargeListComponent },
  { path: 'chargeback', component: ChangebackListComponent }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class FinancesRoutingModule { }
